package auth

import (
	"SSO/routers/auth/v1"
	"SSO/routers/middleware"
	"github.com/gin-gonic/gin"
)

func Register(router *gin.Engine){
	authV1 := router.Group("/auth")
	authV1.Use(middleware.SSO{}.Login())
	{
		v1.Register(authV1)
	}
}